package com.xyy.saas.payment.adpater.pingxx.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangtianqi
 * @date 2019/10/22 14:11
 */
public class WithdrawalDO implements Serializable {
    private static final long serialVersionUID = -5393138949098368208L;

    /**
     * 提现对象 ID
     */
    private String id;
    /**
     * withdrawNo
     */
    private String withdrawNo;
    /**
     *附加参数，提现付款的相关信息。
     */
    private String extra;
    /**
     *错误消息的描述。
     */
    private String failureMsg;
    /**
     *手续费，可能是渠道/银行收取。
     */
    private Integer fee;
    /**
     *提现状态，已申请：created，处理中：pending，完成：succeeded，失败：failed，取消：canceled
     */
    private String status;
    /**
     *提现成功时间，用 Unix 时间戳表示。
     */
    private Date timeSucceeded;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getFailureMsg() {
        return failureMsg;
    }

    public void setFailureMsg(String failureMsg) {
        this.failureMsg = failureMsg;
    }

    public Integer getFee() {
        return fee;
    }

    public void setFee(Integer fee) {
        this.fee = fee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getTimeSucceeded() {
        return timeSucceeded;
    }

    public void setTimeSucceeded(Date timeSucceeded) {
        this.timeSucceeded = timeSucceeded;
    }

    public String getWithdrawNo() {
        return withdrawNo;
    }

    public void setWithdrawNo(String withdrawNo) {
        this.withdrawNo = withdrawNo;
    }
}
